package org.xg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {
	
	@RequestMapping("/login")
	public String loginPage(){
		return "forward:/login.jsp";
	}
	
	
	@RequestMapping("/loginerror")
	public String loginerror(){
		
		return "redirect:/login.jsp";
	}
	
	@RequestMapping("/logout")
	public String logout(){
		
		return "redirect:/login.jsp";
	}
	
	@RequestMapping("/mainpage")
	public String home(){
		
		return "manage/index/index";
	}
}
